Kwik.Page.include("Kwik.Collections.List.js");
Kwik.Page.include("Kwik.Data.Row.js");
Kwik.Page.include("Kwik.Data.Table.js");

/**
* Data row collection
* @extends Kwik.Collections.List
* @requires Kwik.Collections.List
* @requires Kwik.Data.Row
* @requires Kwik.Data.Table
* @constructor
* @created 2:00 AM 2/13/2009
* @modified 2:00 AM 2/13/2009
*/
Kwik.Data.RowCollection = function(config)
{
	/** @ignore */
	Kwik.Utility.extend(this, "Kwik.Collections.List");
	this.__class.push("Kwik.Data.RowCollection");

	/** Reference to a parent object if any @type Kwik.Data.Table */
	this.parent = null;

	/** Configure this row collection object @type Kwik.Data.RowCollectionConfig */
	this.configure = function RowCollection_configure(config)
	{
		config = this.Kwik$Collections$List.configure(config);
		if(config.parent){this.parent = config.parent;}
		return config;
	};

	/** @ignore */
	this.main = function RowCollectionConfig_main(config)
	{
		if(config){this.configure(config);}
	}; this.main(config);
};

Kwik.Data.RowCollectionConfig = function()
{
	/** Reference to a parent object if any @type Kwik.Data.Table */
	this.parent = null;
};